package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.PersonCoupons;
import org.wlgzs.shop.bean.PersonCouponsExample;

public interface PersonCouponsMapper {
    long countByExample(PersonCouponsExample example);

    int deleteByExample(PersonCouponsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PersonCoupons record);

    int insertSelective(PersonCoupons record);

    List<PersonCoupons> selectByExample(PersonCouponsExample example);

    PersonCoupons selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PersonCoupons record, @Param("example") PersonCouponsExample example);

    int updateByExample(@Param("record") PersonCoupons record, @Param("example") PersonCouponsExample example);

    int updateByPrimaryKeySelective(PersonCoupons record);

    int updateByPrimaryKey(PersonCoupons record);
}